

<%= image_tag("icons/spinner.gif",
              :align => "absmiddle",
              :border => 0,
              :id => "spinner",
              :style =>"display: none;" ) %>


<h2>Users for objective</h2>
<br >
<div>
Objective info: Location: <%= @objective.location %>  Months: <%= @objective.months %> Dates: <%= @objective.days %>  Times: <%= @objective.time_range %> | <%=   (link_to "Edit", edit_cartasur_objective_path(@objective)) %>

</div>
<table cellpadding="5" cellspacing="10">
  <%  if @objectiveusers.blank? then %>
        <tr>
          <td colspan="2">
            The are no users for this objective.
          </td>

        </tr>
  <% end  %>
  <br />
  <% @objectiveusers.each do |user| %>

      <tr>
        <td aligh="right">User: <%= link_to user.login, edit_cartasur_user_path(user) %> | Email: <%= user.email %></td>
        <!--  objective.users.collection_select :id, objective.users, :id, :login, :prompt => "Select user" -->
        </td>
      </tr>
  <% end %>

</table>

<hr />

<br/>